package com.cya.命令模式;

/**
 * @author ：陈奕安（3048279304@qq.com）
 * @date ：Created in 2025/5/19 22:58
 * @description：
 * @modified By：
 * @version:
 */
public class Client {
    public static void main(String[] args) {
        Command command1,command2;
        command1=new acadmicCommand();
        command2=new sportCommand();
        Teacher teacher=new Teacher(command1,command2);
        teacher.task1();
        teacher.task2();
    }
}